package com.ruoyi.module.mapper;

import java.util.List;
import com.ruoyi.module.domain.FundLending;

/**
 * 资金拆借Mapper接口
 * 
 * @author fubojin
 * @date 2025-01-10
 */
public interface FundLendingMapper 
{
    /**
     * 查询资金拆借
     * 
     * @param id 资金拆借主键
     * @return 资金拆借
     */
    public FundLending selectFundLendingById(Long id);

    /**
     * 查询资金拆借列表
     * 
     * @param fundLending 资金拆借
     * @return 资金拆借集合
     */
    public List<FundLending> selectFundLendingList(FundLending fundLending);

    /**
     * 新增资金拆借
     * 
     * @param fundLending 资金拆借
     * @return 结果
     */
    public int insertFundLending(FundLending fundLending);

    /**
     * 修改资金拆借
     * 
     * @param fundLending 资金拆借
     * @return 结果
     */
    public int updateFundLending(FundLending fundLending);

    /**
     * 删除资金拆借
     * 
     * @param id 资金拆借主键
     * @return 结果
     */
    public int deleteFundLendingById(Long id);

    /**
     * 批量删除资金拆借
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFundLendingByIds(Long[] ids);
}
